package com.cn;

public class test3 {
     private String name;
     private int age;


    public test3(){
        this.name = name;
        this.age = age;
    }

     public test3(String name,int age){
        this();
         this.name = name;
         this.age = age;
     }
     public String read(){
         return "我是："+name+"，年龄："+age;
     }
}
class Example01{
    public static void main(String[] args){
        test3 t1 = new test3();
        test3 t3 = new test3("张三",18);
        System.out.println(t3.read());
    }

}